﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebFooter.ascx.cs" Inherits="Rison.Web.ascx.WebFooter" %>
<!--#include file="../Common/Bottom.txt"-->
</div>

<script type="text/javascript"> 
	var a = document.all.tags("input");
	
	for (var i=0; i<a.length; i++)
	{
	    if(a[i].type=="checkbox1" || a[i].type=="radio1") 
	    {
			a[i].className="inputCheckBox";
		}
		else if(a[i].type=="button" || a[i].type=="submit") 
		{
            a[i].className="inputButton";
	    }
	}
	
	var global=document.getElementById ("globalContiner");
	var footer=document.getElementById ("webFooter");
	if(global)
	{
	    //debugger ;
	    if(global.offsetHeight < screen.availHeight)
	    {
	        global.style.height=(screen.availHeight-125) + "px";
	        
	        if(footer)
	        {
	            footer.style.posTop = (screen.availHeight-125-32)+"px";
	            footer.style.pixelTop = (screen.availHeight-125-32)+"px";
	            footer.runtimeStyle.top=(screen.availHeight-125-32);
	            footer.runtimeStyle.bottom="0";
	        }
	    }
	    
	}
</script>
